Interactive debugging environments and methods of providing the same

ABSTRACT

Described are systems and methods for generating interactive in memory objects from stored program failure data. An anomalous condition related to a program failure is detected. Data is captured regarding the anomalous condition. The captured data is stored. The stored data is converted into at least one in-memory object. A runtime environment is reproduced about a region of code related to the program failure from the at least one in-memory object.

FIELD OF THE INVENTION

The present invention relates generally to software debuggingenvironments, and more specifically to systems and methods forgenerating executable, interactive objects from data captured inresponse to a program code failure.

BACKGROUND

Modern software programs can be complex and consist of many componentsthat interact with each other. When problems arise such as a programfailure during execution, a software developer or a quality assuranceengineer, support technician, or other troubleshooter will attempt toisolate the problem in an effort to correct the error or otherwise debugthe suspect component, for example, by providing a code fix or otherresolution. Typically, a software program at fault is running on aremote location not accessible by the software vendor. In order todetermine the cause of the software failure, the developer or supportengineer will attempt to reproduce the environment in which the problemoccurred. The advantage of reproducing the problem in house is that thedeveloper or support engineer can attach a debugging tool, referred toas a debugger, to observe the state of the objects around the failurepoint. This can be useful for providing information as to what theproblem is and how to fix it. However, reproducing a problem at asoftware application or software solution level may be difficult due tocomplex component dependencies, software configuration, data used, andcustom end user code involved. Thus, instead of trying to reproduce theentire end user's software setup, for example, in house by the softwarevendor's support team, a portion of the end user's software runtimeenvironment around the failure point can be reproduced. With thislocalized environment around the suspect object class or component, adebugger can be attached to this environment to see the contextual stateof the objects about which the suspect component is interacting in orderto obviate the need for debugging in a larger product environment.

BRIEF SUMMARY

In one aspect, a computer-implemented method for generating interactivein memory objects from stored program failure data is provided. Ananomalous condition related to a program failure is detected. Data iscaptured regarding the anomalous condition. The captured data is stored.The stored data is converted into at least one in-memory object. Aruntime environment is reproduced about a region of code related to theprogram failure from the at least one in-memory object.

In another aspect, a computer-implemented method for debugging asoftware program is provided. A snapshot of an active class is generatedin response to an abnormal condition generated from a software componentfailure. Object data captured from the snapshot is auto-serialized. Theserialized object data is converted into at least one in-memory object.A runtime environment is reproduced about a region of program coderelated to the software component failure from the at least onein-memory object.

In another aspect, an in-memory interactive object generator comprisesan object extraction module and an object inflation module. The objectextraction module extracts contextual object data related to a programfailure from a passive log file. The object inflation module thatinstantiates corresponding objects in memory from the extractedcontextual object data.

In another aspect, a computer program product generates interactive inmemory objects from stored program failure data. The computer programproduct comprises a computer readable storage medium having computerreadable program code embodied therewith. The computer readable programcode comprises computer readable program code configured to detect ananomalous condition related to a program failure. The computer readableprogram code further comprises computer readable program code configuredto capture data regarding the anomalous condition. The computer readableprogram code further comprises computer readable program code configuredto store the captured data. The computer readable program code furthercomprises computer readable program code configured to convert thestored data into at least one in-memory object. The computer readableprogram code further comprises computer readable program code configuredto reproduce a runtime environment about a region of code related to theprogram failure from the at least one in-memory object.

BRIEF DESCRIPTION OF THE SEVERAL VIEWS OF THE DRAWINGS

The above and further advantages of this invention may be betterunderstood by referring to the following description in conjunction withthe accompanying drawings, in which like numerals indicate likestructural elements and features in various figures. The drawings arenot necessarily to scale, emphasis instead being placed uponillustrating the principles of the invention.

FIG. 1 is a block diagram of an interactive debugging environment inwhich embodiments of the present inventive concepts can be practiced;

FIG. 2 is a block diagram of an in-memory interactive object generatorshown in FIG. 1, in accordance with an embodiment;

FIG. 3 is a flowchart illustrating a method for generating interactiveobjects from passive log data, in accordance with an embodiment;

FIG. 4 is a flowchart illustrating a method for debugging a softwareprogram, in accordance with an embodiment; and

FIG. 5 is a schematic block diagram illustrating a method for convertinglogged data into an executable, interactive environment, in accordancewith an embodiment.

DETAILED DESCRIPTION

In the following description, specific details are set forth although itshould be appreciated by one of ordinary skill that the systems andmethods can be practiced without at least some of the details. In someinstances, known features or processes are not described in detail so asnot to obscure the present invention.

The contextual information corresponding to a localized environment canbe captured in a log file, trace, memory dump, and the like, and can beused by software developers to determine a source of the softwareproblem. However, the process of reading flat-file, text-based logs,traces, and the like can be tedious and time-consuming, as well as proneto human error. For example, a support engineer can step through thecode to inspect the variables along the way containing the expectedvalues, which is a manual process that requires tedious visualinspections.

Custom probe programs can be provided to ameliorate the manualrequirements of a support engineer. Here, the probe program can be runwhen certain breakpoints are encountered. However, when interacting withprogram execution errors, the user must be attached to the live runningprocess at the time the error occurs. This requires the support engineerto complete the cumbersome task of recreating the offending environment,for attaching the probe programs. As most errors are not expected andoffending environments are not readily available, the ability to avoidrecreating such environments and to recreate the offending codeartifacts is important.

In brief overview, systems and methods are provided for transformingrelevant log or trace data into an active in-memory representation ofthe objects which reflect a localized representation of the originalenvironment in which a software component failed. During operation,contextual object information related to a program failure isautomatically extracted from a log, trace, dump, and the like that isgenerated during execution of the program. The systems and methods caninstantiate corresponding objects in memory from the contextual objectinformation by deserializing, or inflating, the captured object data.Accordingly, the logged data can be converted into interactive in-memoryobjects, which when deserialized can be used locally by a sandbox orother debugging tool for reproducing the failure, identifying the sourceof the error, and the like. In this manner, a standalone runtimeenvironment can be reproduced around just the failure section of theprogram code so that a debugging tool can be used to analyze the objectstates in that area captured at the time of failure.

Accordingly, the systems and methods automatically create an in-memoryenvironment which, to an extent, represents the relevant section of theuser's environment. A developer can therefore avoid the laborious effortof analyzing log or trace files, or the need of a debugger beingattached to the full live running production process at the time theerror occurs, for example, debugging code that is executed whenbreakpoints are encountered. Instead, the systems and methods of thepresent inventive concepts permit direct interaction with thedeserialized in-memory objects, so that problem determination can occurwhen isolated to a simple unit-test sandbox or other debugging tool.This manner of creating an executable and interactive environment withrespect to the objects in the files, as opposed to remaining a passivetext-based repository as with flat log files, permits a developer toutilize the logged information to recreate the original conditions underwhich the exception or error was generated at will, without additionalsoftware or environmental concerns.

FIG. 1 is a block diagram of an interactive debugging environment 10 inwhich embodiments of the present inventive concepts can be practiced.The interactive debugging environment 10 includes a computer system 100having program code therein that is experiencing a failure, for example,program code related to an application 104. The interactive debuggingenvironment 10 also includes an error analyzer 116 and an optional testunit, for example, a debugging tool.

The computer system 100 includes a processor 101, a memory having acontainer 102, a data serializer 112, and/or a data repository 110, anda network interface 103, which can communicate with each other via a busand/or data connector, for example, a Peripheral Component Interconnect(PCI) bus. The computer system 100 can include an application server orrelated server used in a development environment.

The network interface 103 can include one or more adaptors forcommunicating with the error analyzer 116 and/or other electronicdevices via a network 12 such as a WAN, LAN, Internet, public network,private network, and the like, or via a direct connection.

The memory can include volatile memory, for example, RAM and the like,and/or non-volatile memory, for example, ROM, flash memory, and thelike. The memory can include removable and/or non-removable storagemedia implemented in accordance with methods and technologies known tothose of ordinary skill in the art for storing data. Stored in thememory can include program code, such as program code of an operatingsystem executed by the processor 101, and/or program code correspondingto contents of the container 102, for example, an application 104.

The container 102 includes at least one application 104, a logging layer106, and an exception handler 108. The container 102 can include a webcontainer, an Enterprise JavaBeans (EJB) container, a Service ComponentArchitecture (SCA) container, or other runtime platform. for elements ofthe application 104 stored in the memory. The application 104 caninclude an object oriented application, for example, a Java®application, or other application including program code that can residein the memory of the computing system 100.

The logging layer 106 can capture information related to an exceptionduring program execution, for example, program code of a component ofthe application 104 experiencing a failure, and store the capturedinformation in the data repository 110. The data repository 110 can bepart of the computer system 100 as shown in FIG. 1, or can be locatedseparately from the computer system 100 and in communication with thecomputer system 100 via the network 112, a direct connection, or otherconnection. The data repository 110 can receive and store logs, traces,dumps, and the like, which can be in the form of character or text filesfor processing by the error analyzer 116. The logging layer 106 caninclude different logging levels, for example, configured for performinglogging at one or more different levels of granularity with respect tothe captured information, thereby allowing for a variable amount ofreconstruction depending on the debugging requirements. Multiple logginglevels can allow for referenced in-memory classes to be serialized aswell as for white-box debugging. Alternately, they can be omitted forblack-box debugging for performance-related reasons.

The exception handler 108 can catch and handle exceptions by executing asnapshot of active classes around where a program component failureoccurs. The snapshot can be correlated with exception data stored as logfiles and the like in the data repository 110. The snapshot can includethe current values of member fields of one or more classes, currentvalues of input parameters, local variables, and the like of the methodthat created the object, and/or other attribute data related to a classcorresponding to a given object. The snapshot permits a copy of all thelocal variables to be bundled as a file along with the objects forfuture reference.

The data serializer 112 can serialize the data into a file and outputthe file to the data repository 110 or other storage device. The dataserializer 112 can be part of the computer system 100, or can be part ofa different computer system having a processor, memory, networkinterface, etc. The data serializer 112 serializes the data snapshotgenerated by the exception handler 108 into an exception bundle. Theexception bundle can be generated in a text format, for example, a flatfile text-based log. The exception bundle can be stored in the datarepository 110 or other database known to those of ordinary skill in theart, and/or transmitted to the error analyzer 116. A developer or otheruser can recreate the in-memory reference objects to a state at the timeof the anomalous event, for example, an exception. The capturedexception data can be stored in a flat-file or xml based layout, and thelike. Portions of the captured runtime information can include binary orcompiled code objects, and the like.

The error analyzer 116 includes a processor 117, a memory 119 having anin-memory interactive object generator 118, and a network interface 119,which can communicate with each other over one or more communicationsbusses, for example, a Peripheral Component Interconnect (PCI) bus. Thein-memory interactive object generator 118 converts the serialized datareceived from the data serializer 112 into an active in-memoryrepresentation of those objects that reflect a localized representationof the original environment in which a software component failed. Inparticular, the in-memory interactive object generator 118 canrepopulate the snapshot taken by the exception handler 108 withreconstructed in-memory values and the like by instantiating objectscorresponding to the contextual object information extracted from thecaptured log, trace, or dump data, which can be restored to a state atthe time of the exception. The in-memory interactive object generator118 can output the object classes as well as a generated driver classfor testing the deserialized results to the test unit 120, for example,a JUnit sandbox or other debugging tool. The test unit 120 can processthe in-memory reference objects, restored to a state at the time of theexception, without the need for the test unit 120 to be attached to arunning debugging process.

FIG. 2 is a block diagram of the in-memory interactive object generator118 shown in FIG. 1, in accordance with an embodiment. The in-memoryinteractive object generator 118 can execute entirely on the erroranalyzer 116, or a different standalone computer platform.Alternatively, some elements of the in-memory interactive objectgenerator 118 can execute on the error analyzer 116 or other computerplatform, while other elements execute on a remote computer such as thetest unit 120 or the computer system 100. The in-memory interactiveobject generator 118 can include hardware, software, firmware, or acombination thereof. The in-memory interactive object generator 118includes an object extraction module 206 and an object inflation module208.

The object extraction module 206 receives error logs with serializedobject data as input, and automatically extracts contextual object datafrom the error logs. The contextual object data can be extracted fromsections of an error log corresponding to an area of program codeproximal to a failing software component or components. The error logscan include application log and trace files, operating system log files,memory dumps, and the like, and be provided by a logger 106 and/or eventhandler 108.

The object inflation module 208 converts the serialized contextualobject information of the received error logs into an executable andinteractive environment. This can be achieved by the object inflationmodule 208 generating an in-memory representation of the objects, whichcan provide a localized representation of the original environmentaround the failing component, for example, a state of the objects at thetime of the thrown exception The deserialized object inflation module208 can reconstruct memory values and the like from the extractedcontextual object information. The reconstructed in-memory values of thecaptured objects can be used, for example, by a developer or supportengineer when stepping through a malfunctioning portion of the softwareprogram line-by-line. Since active in-memory interactive objects aregenerated, these objects can be used locally, for example, in a sandboxenvironment, or any debugging environment that enables a supportengineer, a developer, etc. to see the in-memory representation of theobjects around where an anomalous condition such as an error, exception,and the like, and to quickly debug the program code to identify thesource of the component failure.

FIG. 3 is a flowchart illustrating a method 300 for generatinginteractive objects from passive log data, in accordance with anembodiment. In describing the method 300, reference is also made toFIGS. 1 and 2. The method 300 can be governed by instructions that arestored in a memory and executed by a processor of the computer system100 and/or the error analyzer 116.

At block 302, an anomalous condition such as an exception or relatedevent or error is detected. The anomalous condition can include athrowable exception or error. The anomalous condition can be detectedaccording to tools and/or techniques known to those of ordinary skill inthe art.

At block 304, object data can be captured. In an embodiment, the objectdata includes contextual object information extracted from passive log,trace, or memory dump files proximal to an area of code where theexception occurred, for example, near an area of a failed programcomponent. In an embodiment, a snapshot is taken of one or more activeclasses determined at the time of the exception occurrence, and stored,for example, in the data repository 110. The snapshot can include asnapshot of objects that are active at a specific point in time duringexecution. The snapshot can include the current values of member fieldsof one or more classes, current values of input parameters, localvariables, and the like.

At block 306, an in-memory representation of objects related to thecaptured data can be generated. The objects can be instantiated inmemory from the extracted contextual object data. The active in-memoryrepresentation of the objects can be created to reflect a localizedrepresentation of the original environment in which a software componentfailed. This can be achieved by the in-memory interactive objectgenerator 118 repopulating the snapshot of the active classes withreconstructed in-memory values and the like related to the capturedobjects. The contextual object information of the captured log, trace,or dump data can be recreated as in-memory objects, for example,recreated to a state at the time of the exception.

At block 308, the in-memory representation of the objects can be used toreproduce component failure resulting in the anomalous condition. In anembodiment, the recreated objects are used locally to reproduce afailure, error, exception, and the like, for example, a Junit testenvironment. In another embodiment, the recreated objects are output toa debug tool, for example, for black-box or white-box debugging. Inanother embodiment, the recreated objects are used by the error analyzer116 to allow a user, for example, a support engineer, to see thein-memory representation of the objects about where the error orexception occurred in the error

FIG. 4 is a flowchart illustrating a method 400 for debugging a softwareprogram, in accordance with an embodiment. In describing the method 400,reference is also made to FIGS. 1 and 2. The method 400 can be governedby instructions that are stored in a memory and executed by a processorof the computer system 100 and/or the error analyzer 116.

At block 402, a snapshot can be taken of an active class in response toan anomalous condition, for example, an exception thrown during theexecution of a program. The snapshot can include current values of classmember fields, method input parameters, local member fields, or otherobject-related data used to recreate a localized environment around thefailing component.

At block 404, data captured from the snapshot can be serialized into anexception bundle. The exception bundle can be generated as a flat fileor related format suitable for storing in a data repository and/ortransmitting to a destination computer, for example, to a supportengineer for debugging the program code under test.

At block 406, the snapshot data can be deserialized, for example, whenthe serialized snapshot data is received by the in-memory interactiveobject generator 118.

At block 408, the in-memory reference objects can be recreated, forexample, to a state at the time of the exception. Accordingly, theoriginal error condition can be reproduced in a localized environmentfrom the in-memory reference objects.

FIG. 5 is a schematic block diagram illustrating a method 500 forconverting logged data into an executable, interactive environment, inaccordance with an embodiment. In describing the method 400, referenceis also made to FIGS. 1 and 2.

A well-known Java program 502 entitled “Helloworld.java” is providedwhich, when compiled and run, prints the text string “HelloWorld” on acomputer display.

An exception 504 is generated when the program 502 crashes. In thisillustration, the program 502 crashed on line 11 in the method called“badmethod” in the “Helloworld” class (line 15 of the fileAccount.java). This method was called from line 1 of the file“Helloworld.java,” from the main method.

An error log corresponding to the exception 504 is output to the objectinflation module 208. Object data of the program 504 is serialized forstoring and is also output to the object inflation module 208. Theobject inflation module 208 can deserialize the helloworld class, andoutput a generated driver class 512, for example, to a test tooldescribed herein. In addition, the object inflation module 208 candeserialize, i.e., inflate, the serialized object data of the classes,thereby converting the serialized object data into one or more in-memoryobjects. In this manner, the serialized object data can be restored to astate at the time of the exception. A software developer can thereforeavoid analyzing the error log corresponding to the exception 504 andprovide the output directly to a debugger.

As will be appreciated by one skilled in the art, aspects of the presentinvention may be embodied as a system, method or computer programproduct. Accordingly, aspects of the present invention may take the formof an entirely hardware embodiment, an entirely software embodiment(including firmware, resident software, micro-code, etc.) or anembodiment combining software and hardware aspects that may allgenerally be referred to herein as a “circuit,” “module” or “system.”Furthermore, aspects of the present invention may take the form of acomputer program product embodied in one or more computer readablemedium(s) having computer readable program code embodied thereon.

Any combination of one or more computer readable medium(s) may beutilized. The computer readable medium may be a computer readable signalmedium or a computer readable storage medium. A computer readablestorage medium may be, for example, but not limited to, an electronic,magnetic, optical, electro-magnetic, infrared, or semiconductor system,apparatus, or device, or any suitable combination of the foregoing. Morespecific examples (a non-exhaustive list) of the computer readablestorage medium would include the following: an electrical connectionhaving one or more wires, a portable computer diskette, a hard disk, arandom access memory (RAM), a read-only memory (ROM), an erasableprogrammable read-only memory (EPROM or Flash memory), an optical fiber,a portable compact disc read-only memory (CD-ROM), an optical storagedevice, a magnetic storage device, or any suitable combination of theforegoing. In the context of this document, a computer readable storagemedium may be any tangible medium that can contain, or store a programfor use by or in connection with an instruction execution system,apparatus, or device.

A computer readable signal medium may include a propagated data signalwith computer readable program code embodied therein, for example, inbaseband or as part of a carrier wave. Such a propagated signal may takeany of a variety of forms, including, but not limited to,electro-magnetic, optical, or any suitable combination thereof. Acomputer readable signal medium may be any computer readable medium thatis not a computer readable storage medium and that can communicate,propagate, or transport a program for use by or in connection with aninstruction execution system, apparatus, or device. Program codeembodied on a computer readable medium may be transmitted using anyappropriate medium, including but not limited to wireless, wireline,optical fiber cable, RF, etc., or any suitable combination of theforegoing.

Computer program code for carrying out operations for aspects of thepresent invention may be written in any combination of one or moreprogramming languages, including an object oriented programming languagesuch as Java, Smalltalk, C++ or the like and conventional proceduralprogramming languages, such as the “C” programming language or similarprogramming languages. The program code may execute entirely on theuser's computer, partly on the user's computer, as a stand-alonesoftware package, partly on the user's computer and partly on a remotecomputer or entirely on the remote computer or server. In the latterscenario, the remote computer may be connected to the user's computerthrough any type of network, including a local area network (LAN) or awide area network (WAN), or the connection may be made to an externalcomputer (for example, through the Internet using an Internet ServiceProvider).

Aspects of the present invention are described below with reference toflowchart illustrations and/or block diagrams of methods, apparatus(systems) and computer program products according to embodiments of theinvention. It will be understood that each block of the flowchartillustrations and/or block diagrams, and combinations of blocks in theflowchart illustrations and/or block diagrams, can be implemented bycomputer program instructions. These computer program instructions maybe provided to a processor of a general purpose computer, specialpurpose computer, or other programmable data processing apparatus toproduce a machine, such that the instructions, which execute via theprocessor of the computer or other programmable data processingapparatus, create means for implementing the functions/acts specified inthe flowchart and/or block diagram block or blocks.

These computer program instructions may also be stored in a computerreadable medium that can direct a computer, other programmable dataprocessing apparatus, or other devices to function in a particularmanner, such that the instructions stored in the computer readablemedium produce an article of manufacture including instructions whichimplement the function/act specified in the flowchart and/or blockdiagram block or blocks. The computer program instructions may also beloaded onto a computer, other programmable data processing apparatus, orother devices to cause a series of operational steps to be performed onthe computer, other programmable apparatus or other devices to produce acomputer implemented process such that the instructions which execute onthe computer or other programmable apparatus provide processes forimplementing the functions/acts specified in the flowchart and/or blockdiagram block or blocks.

The flowchart and block diagrams in the figures illustrate thearchitecture, functionality, and operation of possible implementationsof systems, methods and computer program products according to variousembodiments of the present invention. In this regard, each block in theflowchart or block diagrams may represent a module, segment, or portionof code, which comprises one or more executable instructions forimplementing the specified logical function(s). It should also be notedthat, in some alternative implementations, the functions noted in theblock may occur out of the order noted in the figures. For example, twoblocks shown in succession may, in fact, be executed substantiallyconcurrently, or the blocks may sometimes be executed in the reverseorder, depending upon the functionality involved. It will also be notedthat each block of the block diagrams and/or flowchart illustration, andcombinations of blocks in the block diagrams and/or flowchartillustration, can be implemented by special purpose hardware-basedsystems that perform the specified functions or acts, or combinations ofspecial purpose hardware and computer instructions.

While the invention has been shown and described with reference tospecific embodiments, it should be understood by those skilled in theart that various changes in form and detail may be made therein withoutdeparting from the spirit and scope of the invention.

What is claimed is:
 1. A computer-implemented method for generatingactive in-memory interactive object from stored program failure data,comprising: detecting an anomalous condition related to a programfailure; capturing data regarding the anomalous condition; storing thecaptured data; converting the stored data into at least one activein-memory interactive object; and reproducing a runtime environmentabout a region of code related to the program failure from the at leastone active in-memory interactive object, wherein reproducing the runtimeenvironment includes reflecting a localized representation of anoriginal environment of a program related to the program failure, thelocalized representation being proximal to the region of program code ofthe program failure; generating a snapshot of an active class related tothe captured data, wherein the snapshot includes at least one of valuesof member fields of the active class, values of input parameters of atleast one method corresponding to the active class, and local memberfields; auto-serializing object data of the active class into a file inresponse to the anomalous condition; deserializing the file;reconstructing in-memory values of the object data of the active class;generating a log file in response to detecting the anomalous condition,wherein the log file includes at least one of a character-based log, atrace file, an operating system log file, and a dump file; automaticallyextracting contextual object data from the log file proximal to an areaof the program failure; instantiating the at least one active in-memoryinteractive object from the extracted contextual object data; andproviding the at least one active in-memory interactive object to a testtool for debugging.
 2. The computer-implemented method of claim 1,wherein deserializing the file includes restoring the object data to astate at the time of the anomalous condition.
 3. Thecomputer-implemented method of claim 1, further comprising reproducingthe runtime environment in response to receiving a driver class,referenced object classes, and the at least one active in-memoryinteractive object.
 4. The computer-implemented method of claim 1,wherein the test tool includes a unit-test sandbox.
 5. Acomputer-implemented method of debugging a software program, comprising:generating a snapshot of an active class in response to an abnormalcondition generated from a software component failure, wherein thesnapshot includes at least one of values of member fields of the activeclass, values of input parameters of at least one method correspondingto the active class, and local member fields; auto-serializing objectdata of the active class into a file in response to the abnormalcondition; converting the serialized object data into at least oneactive in-memory interactive object corresponding to a localizedrepresentation of an original environment at which the abnormalcondition occurred; and reproducing a runtime environment about a regionof program code related to the software component failure from the atleast one active in-memory interactive object, wherein reproducing theruntime environment related to the software component failure includesreflecting a localized representation of an original environment of aprogram related to the software component failure, the localizedrepresentation being proximal to a region of program code of thesoftware component failure; deserializing the file; reconstructingin-memory values of the object data of the active class; generating alog in response to the software component failure, wherein the logincludes at least one of a character-based log file, a trace file, anoperating system log file, and a dump file; automatically extractingcontextual object data of the object data from the log, the contextualobjects extracted from a section of the log proximal to the region ofprogram code of the software component failure; instantiating the atleast one active in-memory interactive object from the extractedcontextual object data; and providing the at least one active in-memoryinteractive object to a test tool for debugging.
 6. Thecomputer-implemented method of claim 5, further comprising reproducingthe environment related to the failure in response to receiving a driverclass, one or more referenced object classes, and the at least oneactive in-memory representation of the interactive object.
 7. Thecomputer-implemented method of claim 5, wherein the test tool includes aunit-test sandbox.
 8. A computer program product for generating activein-memory interactive object from stored program failure data, thecomputer program product comprising: a non-transitory computer readablestorage medium having computer readable program code embodied therewith,the computer readable program code comprising; computer readable programcode configured to detect an anomalous condition related to a programfailure; computer readable program code configured to capture dataregarding the anomalous condition; computer readable program codeconfigured to store the captured data; computer readable program codeconfigured to convert the stored data into at least one active in-memoryinteractive object; and computer readable program code configured toreproduce a runtime environment about a region of code related to theprogram failure from the at least one in-memory object, whereinreproducing the runtime environment includes reflecting a localizedrepresentation of an original environment of a program related to theprogram failure, the localized representation being proximal to theregion of program code of the program failure; computer readable programcode configured to generate a snapshot of an active class related to thecaptured data, wherein the snapshot includes at least one of values ofmember fields of the active class, values of input parameters of atleast one method corresponding to the active class, and local memberfields; computer readable program code configured to auto-serializeobject data of the active class into a file in response to the anomalouscondition; computer readable program code configured to deserialize thefile; computer readable program code configured to reconstruct in-memoryvalues of the object data of the active class; computer readable programcode configured to generate a log file in response to detecting theanomalous condition, wherein the log file includes at least one of acharacter-based log, a trace file, an operating system log file, and adump file; computer readable program code configured to automaticallyextract contextual object data from the log file proximal to an area ofthe program failure; computer readable program code configured toinstantiate the at least one active in-memory interactive object fromthe extracted contextual object data; and computer readable program codeconfigured to provide the at least one active in-memory interactiveobject to a test tool for debugging.